package com.bjsdzk.collector.mapper;

import com.bjsdzk.collector.entity.model.Command;
import com.bjsdzk.collector.entity.model.Dictionaries;
import com.bjsdzk.collector.entity.model.ParamsSetting;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;


@Mapper
@Component
public interface ParamsSettingMapper {
	@Select("SELECT d.* FROM params_setting d ")
	@ResultType(ParamsSetting.class)
	@MapKey("type")
	Map<Integer,ParamsSetting > findAll();
}